###
# kubernetes system config
#
# The following values are used to configure the kube-apiserver
#

# The address on the local server to listen to.
KUBE_API_ADDRESS="--insecure-bind-address=127.0.0.1"

# The port on the local server to listen on.
# KUBE_API_PORT="--port=8080"

BIND_ADDRESS="--bind-address=0.0.0.0"
SECURE_PORT="--secure-port 6443"           

# Port minions listen on
# KUBELET_PORT="--kubelet-port=10250"

# Comma separated list of nodes in the etcd cluster
KUBE_ETCD_SERVERS="--etcd-servers={{ etcd_servers }}"
KUBE_ETCD_CAFILE="--etcd-cafile=/etc/ssl/kubernetes/ca.pem"
KUBE_ETCD_CERTFILE="--etcd-certfile=/etc/ssl/kubernetes/k8s.pem"
KUBE_ETCD_KEYFILE="--etcd-keyfile=/etc/ssl/kubernetes/k8s-key.pem"


# Address range to use for services
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range={{ service_cluster_ip_range }}"

# default admission control policies
KUBE_ADMISSION_CONTROL="--admission-control={{ admission_control }}"


KUBE_API_CLIENT_CA_FILE="--client-ca-file=/etc/ssl/kubernetes/ca.pem"
KUBE_API_TLS_CERT_FILE="--tls-cert-file=/etc/ssl/kubernetes/k8s.pem"
KUBE_API_TLS_PRIVATE_KEY_FILE="--tls-private-key-file=/etc/ssl/kubernetes/k8s-key.pem"
SERVICE_ACCOUNT_KEY_FILE="--service-account-key-file=/etc/ssl/kubernetes/k8s-key.pem"



# Add your own!

KUBE_API_ARGS="{% if enable_swagger_ui is defined and enable_swagger_ui %}--enable-swagger-ui {% endif %}"

